<?php

/**
 * Description of formContent
 *
 * @author Kam
 */
class My_View_Helper_FormImageUpload extends Zend_View_Helper_FormHidden {

    public function formImageUpload($name, $value = null, $attribs = null) {
        $info = $this->_getInfo($name, $value, $attribs);
        extract($info); // name, value, attribs, options, listsep, disable

        $this->view->headLink()->appendStylesheet($this->view->baseUrl() . '/libs/wysihtml5/bootstrap-wysihtml5.css');
        $this->view->headScript()->appendFile($this->view->baseUrl() . '/libs/wysihtml5/parser_rules/simple.js');
        $this->view->headScript()->captureStart();
        ?>
        $(function() {

        });
        <?php
        $this->view->headScript()->captureEnd();

        $xhtml = $this->formHidden($name, $value, $attribs);
        return $xhtml;
    }

}
